package com.chen.popj.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ContestLeaderboard {
    private Integer contestId; // 比赛id
    private Integer problemId; // 题目id
    private Integer problemSubmitId; // 用户提交id
    private Integer userId; // 用户id
    private Short isFirstAc; // 是否首次ac
    private Integer wrongCount; // 错误次数
    private LocalDateTime submitTime; // 提交时间
    private String result; // 判题结果
}
